import request from './request'

export function sendMessage(data) {
    return request({
        url: '/message/send',
        method: 'post',
        data
    })
}

export function getChatHistory(data) {
    return request({
        url: '/message/history',
        method: 'post',
        data
    })
}